Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 4 - Printing Messages / Printing Messages Reference
Data Types for Printer Drivers


The Print-to-File Structure

The print-to-file structure, of data type gxPrintDestinationRec, is used to specify information about writing a document to file. This structure defines the parameters that specify how the document is stored in a file.

struct gxPrintDestinationRec {
   Boolean     printToFile;
   FSSpec      fSpec;
   Boolean     includeFonts;
   Str31       fileFormat;
};
typedef struct gxPrintDestinationRec gxPrintDestinationRec, 
*gxPrintDestinationPtr, **gxPrintDestinationHdl;
Field Description
printToFile
A Boolean value that is true if the current document is being printed to a file and false if not.
fSpec
The FSSpec structure for the file.
includeFonts
A Boolean value that is true if system fonts are included in the file and false if not. Application fonts are always included in the file.
fileFormat
The name of the file format to use for writing the file.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help